package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-供应商分组信息对象 erp_king_base_supplier_group_info
 *
 * @author cxl
 * @date 2024-06-20
 */
@TableName ( "erp_king_base_supplier_group_info" )
@ApiModel ( value = "金蝶-供应商分组信息", description = "金蝶-供应商分组信息" )
@Data
public class KingBaseSupplierGroupEntity extends BaseVo {

    /**
     * 主键id
     */
    @TableId ( type = IdType.INPUT )
    private String id;

    /**
     * 父级id
     */
    @ApiModelProperty ( "父级id" )
    @TableField ( "parent_id" )
    @Excel ( name = "父级id" )
    private String parentId;

    /**
     * 编码
     */
    @ApiModelProperty ( "编码" )
    @TableField ( "code" )
    @Excel ( name = "编码" )
    private String code;

    /**
     * 名称
     */
    @ApiModelProperty ( "名称" )
    @TableField ( "name" )
    @Excel ( name = "名称" )
    private String name;

    /**
     * 描述
     */
    @ApiModelProperty ( "描述" )
    @TableField ( "desc_info" )
    @Excel ( name = "描述" )
    private String descInfo;

    /**
     * 创建人Id
     */
    @ApiModelProperty ( "创建人Id" )
    @TableField ( "user_id" )
    @Excel ( name = "创建人Id" )
    private String userId;

    @ApiModelProperty ( "创建时间" )
    @TableField ( "create_time" )
    @JsonFormat ( pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty ( "更新时间" )
    @TableField ( "change_time" )
    @JsonFormat ( pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date changeTime;

    @ApiModelProperty ( "逻辑删除" )
    @TableField ( "is_disabled" )
    @Excel ( name = "逻辑删除" )
    private Integer isDisabled;

    @ApiModelProperty ( "逻辑删除" )
    @TableField ( "is_used" )
    @Excel ( name = "逻辑删除" )
    private Integer isUsed;

    @ApiModelProperty ("是否可用")
    @TableField ("is_del")
    @Excel (name = "是否可用")
    private Integer isDel;

}
